package com.mapper.sys;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.entity.sys.SysDept;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;
import java.util.Map;

/**
 * 部门 Mapper 接口
 */
public interface SysDeptMapper extends BaseMapper<SysDept> {

    List<SysDept> list(Map<String,String> map);

    List<SysDept> childList(@Param("parentId") String parentId);
}
